﻿using FinallyArchive__Comm;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace FinallyArchive__Model
{
    public class User
    {
        [Key]
        public int Id { get; set; }
        public string UserCode { get; set; }
        public string UserAccess { get; set; }
        public string UserPwd { get; set; }
        public string UserName { get; set; }
        public int UserAge { get; set; }
        public int UserSex { get; set; }
        public string UseriPhone { get; set; }
        public SateEnum UserState { get; set; }
        [NotMapped]
        public string UserSate { get {
             return   UserState.ToString();
            } set { } }
    }
    
}